﻿using Api.Domain.Entity;
using Api.Domain.IRepository;
using Api.Repository;
using System.Collections.Generic;
using System.Linq;

namespace Api.Application
{
    public class Sys_TypeApp
    {
        public ISys_TypeRepository service = new Sys_TypeRepository();

        public Sys_TypeEntity GetEntity(string keyValue)
        {
            return service.FindEntity(keyValue);
        }
        public List<Sys_TypeEntity> GetList()
        {
            return service.FindList(t => t.F_DeleteMark == false);
        }

    }
}
